$OpenBSD: patch-default_bam,v 1.2 2009/04/05 16:59:40 ajacoutot Exp $
--- default.bam.orig	Thu Mar  5 11:41:17 2009
+++ default.bam	Thu Mar  5 11:41:53 2009
@@ -15,7 +15,7 @@ function Script(name)
 	if family == "windows" then
 		return str_replace(name, "/", "\\")
 	end
-	return "python " .. name
+	return "${MODPY_BIN} " .. name
 end
 
 function CHash(output, ...)
@@ -128,7 +128,7 @@ function build(settings)
 			settings.link.frameworks:Add("Carbon")
 			settings.link.frameworks:Add("AppKit")
 		else
-			settings.link.libs:Add("pthread")
+			settings.link.flags:Add("-pthread")
 		end
 	elseif family == "windows" then
 		settings.link.libs:Add("gdi32")
